package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.Indicatorlibrary;
import com.zj.healthmanage.mapper.IndicatorlibraryMapper;
import com.zj.healthmanage.service.IndicatorlibraryService;
@Service
public class IndicatorlibraryServiceImpl implements IndicatorlibraryService{

    @Resource
    private IndicatorlibraryMapper indicatorlibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return indicatorlibraryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Indicatorlibrary record) {
        return indicatorlibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(Indicatorlibrary record) {
        return indicatorlibraryMapper.insertSelective(record);
    }

    @Override
    public Indicatorlibrary selectByPrimaryKey(Integer id) {
        return indicatorlibraryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Indicatorlibrary record) {
        return indicatorlibraryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Indicatorlibrary record) {
        return indicatorlibraryMapper.updateByPrimaryKey(record);
    }

}
